Skip to content

STDP synapse and IAF neuron generation for the compartmental feature [WIP] #1103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 423 commits into
base: master
Choose a base branch
from

Conversation

LeanderEwert
Copy link
Contributor

@LeanderEwert LeanderEwert commented Sep 24, 2024

Making the creation of NESTML synapses compatible with the compartmental feature requires adjustments, as the compartmental neuron generation pipeline constructs neurons in a fundamentally different way. Since NESTML synapses are paired with their post-synaptic neuron during generation, the STDP feature must be specifically implemented for the compartmental pipeline.

The lack of cross-compartment or global variable access has made it impossible, or at least very difficult and unintuitive, to write IAF neurons.

The solutions to both problems have significant overlap, which is why both will be addressed in this pull request.

WillemWybo and others added 30 commits June 29, 2022 10:09
…wert_cm_stdp

# Conflicts:
#	pynestml/codegeneration/nest_compartmental_code_generator.py
#	pynestml/codegeneration/resources_nest/point_neuron/common/SynapseHeader.h.jinja2
#	pynestml/codegeneration/resources_nest_compartmental/cm_neuron/cm_neuroncurrents_@[email protected]
#	pynestml/transformers/synapse_post_neuron_transformer.py
#	pynestml/utils/ast_vector_parameter_setter_and_printer.py
Fixed convolutions required for synapse spike inputs. (no longer required)
# Conflicts:
#	doc/running/running_nest_compartmental.rst
#	pynestml/cocos/co_co_cm_continuous_input_model.py
#	pynestml/cocos/co_cos_manager.py
#	pynestml/codegeneration/code_generator_utils.py
#	pynestml/codegeneration/nest_compartmental_code_generator.py
#	pynestml/codegeneration/printers/nest_variable_printer.py
#	pynestml/codegeneration/resources_nest_compartmental/cm_neuron/cm_neuroncurrents_@[email protected]
#	pynestml/codegeneration/resources_nest_compartmental/cm_neuron/cm_neuroncurrents_@[email protected]
#	pynestml/codegeneration/resources_nest_compartmental/cm_neuron/cm_tree_@[email protected]
#	pynestml/frontend/pynestml_frontend.py
#	pynestml/transformers/synapse_post_neuron_transformer.py
#	pynestml/utils/ast_mechanism_information_collector.py
#	pynestml/utils/ast_vector_parameter_setter_and_printer.py
#	pynestml/utils/continuous_input_processing.py
#	pynestml/utils/mechanism_processing.py
#	pynestml/utils/mechs_info_enricher.py
#	pynestml/utils/messages.py
#	tests/nest_compartmental_tests/resources/cm_default.nestml
#	tests/nest_compartmental_tests/resources/concmech.nestml
#	tests/nest_compartmental_tests/resources/continuous_test.nestml
#	tests/nest_compartmental_tests/test__cocos.py
#	tests/nest_compartmental_tests/test__concmech_model.py
#	tests/nest_compartmental_tests/test__continuous_input.py
#	tests/nest_compartmental_tests/test__interaction_with_disabled_mechanism.py
Copy link

github-actions bot commented Apr 9, 2025

🐰 Bencher Report

Branch1103/merge
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
seconds (s)
(Result Δ%)
Upper Boundary
seconds (s)
(Limit %)
tests/nest_continuous_benchmarking/test_nest_continuous_benchmarking.py::TestNESTContinuousBenchmarking::test_stdp_nn_synapse📈 view plot
🚷 view threshold
3.89 s
(-0.38%)Baseline: 3.91 s
4.30 s
(90.56%)
🐰 View full continuous benchmarking report in Bencher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants